﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Isha.Services.Infrastructure;
using Isha.Entities;
using Isha.Repositories.Infrastructure;
using Isha.Data.Infrastructure;

namespace Isha.Services
{
    public interface IContentTypeService : IServiceBase
    {
        void Initialize(IContentTypeRepository contenttypeRepository, IUnitOfWork unitOfWork);

        IEnumerable<ContentType> GetContentTypes();        
        ContentType GetContentType(long id);
        ContentType GetContentType(string title);
        void CreateContentType(ContentType contenttype);
        void DeleteContentType(long id);
        string ToString();
    }
}
